// import isMobile from "is-mobile";

const config = {
  // copy react基础配置项
  defaultState: {
    hideSingleImport: false,
    readOnly: false,
    showMenuBar: true,
    customizeTabs: false,
    displayMenuBarAboveTools: true,
    withPreviewMode: false,
    disableSetReadOnly: false,
    showReadOnly: true,
    showCircularity: true,
    showGCContentByDefault: false,
    GCDecimalDigits: 1,
    onlyShowLabelsThatDoNotFit: true,
    overrideToolbarOptions: false,
    menuOverrideExample: false,
    propertiesOverridesExample: false,
    overrideRightClickExample: false,
    overrideAddEditFeatureDialog: false,
    clickOverridesExample: false,
    showAvailability: true,
    // showDemoOptions: !isMobile(),
    shouldAutosave: false,
    generatePng: false,
    allowPanelTabDraggable: true,
    isFullscreen: false,
    isProtein: false,
    forceHeightMode: false,
    adjustCircularLabelSpacing: false,
    withVersionHistory: true,
    withRotateCircularView: true,
    setDefaultVisibilities: false,
    onNew: true,
    onImport: true,
    beforeAnnotationCreate: true,
    onSave: true,
    onSaveAs: false,
    onRename: true,
    onDuplicate: true,
    onSelectionOrCaretChanged: false,
    onCreateNewFromSubsequence: false,
    onDelete: true,
    beforeSequenceInsertOrDelete: false,
    maintainOriginSplit: false,
    maxAnnotationsToDisplayAdjustment: false,
    withPartTags: true,
    onCopy: true,
    onPaste: true
  },
}

export default config